import { axios } from '@/utils/request'

export function getCourseAndSubjectInit(){
  return axios({
    url: `/service-edu/DongBing/edu-subject/getCourseAndSubjectInit`,
    method: 'GET'
  })
}

export function getCourseAndSubject(Condition){
  return axios({
    url: `/service-edu/DongBing/edu-subject/getCourseAndSubject`,
    method: 'GET',
    params: Condition
  })
}

export function getByIdCourseMessage(id){
  return axios({
    url: `/service-edu/DongBing/edu-subject/getByIdCourseMessage/${id}`,
    method: 'GET'
  })
}

export function OrderInsert(id){
  return axios({
    url: `/service-order/DongBing/Order/orderInsert/${id}`,
    method: 'POST'
  })
}

export function getOrderMessage(id){
  return axios({
    url: `/service-order/DongBing/Order/getOrderMessage/${id}`,
    method: 'GET'
  })
}
